home
***
CD-ROM
|
disk
|
FTP
|
other
***
search
/
Amiga Tools 2
/
Amiga Tools 2.iso
/
tex
/
macros
/
source
/
base
/
fntguide.tex
/
node7_mn.html
< prev
next >
Wrap
Text File
|
1995-03-15
|
4KB
|
80 lines
<H2><A ID="SECTION00031000000000000000">
Text font attributes</A>
</H2>
Every text font in L<SUP><SMALL>A</SMALL></SUP>T<SMALL>E</SMALL>X<#55#><#55#> has five <I>attributes</I>:
<#57#>description<#57#>
[encoding] This specifies the order that characters appear in the
font. The two most common text encodings used in L<SUP><SMALL>A</SMALL></SUP>T<SMALL>E</SMALL>X<#58#><#58#> are
Knuth's `T<SMALL>E</SMALL>X<#59#><#59#> text' encoding, and the `T<SMALL>E</SMALL>X<#60#><#60#> text extended'
encoding developed by the T<SMALL>E</SMALL>X<#61#><#61#> Users Group members during a T<SMALL>E</SMALL>X<#62#><#62#>
Conference at Cork in~1990 (hence its informal name `Cork encoding').
[family] The name for a collection of fonts, usually grouped under
a common name by the font foundry. For example, `Adobe Times', `ITC
Garamond', and Knuth's `Computer Modern Roman' are all font families.
[series] How heavy or expanded a font is. For example, `medium
weight', `narrow' and `bold extended' are all series.
[shape] The form of the letters within a font family. For
example, `italic', `oblique' and `upright' (sometimes called
`roman') are all font shapes.
[size] The design size of the font, for example `10pt'.
The possible values for these attributes are given short acronyms by
L<SUP><SMALL>A</SMALL></SUP>T<SMALL>E</SMALL>X. The most common values for the font encoding are:
<#64#>center<#64#>
<#65#>minipage<#65#><#66#>.7<#66#>
<#67#>tabular<#67#><#68#>rl<#68#>
|OT1| ;SPMamp; T<SMALL>E</SMALL>X<#69#><#69#> text
<BR> |T1| ;SPMamp; T<SMALL>E</SMALL>X<#70#><#70#> extended text
<BR> |OML| ;SPMamp; T<SMALL>E</SMALL>X<#71#><#71#> math italic
<BR> |OMS| ;SPMamp; T<SMALL>E</SMALL>X<#72#><#72#> math symbols
<BR> |OMX| ;SPMamp; T<SMALL>E</SMALL>X<#73#><#73#> math large symbols
<BR> |U| ;SPMamp; Unknown
<BR> |L;SPMlt;xx;SPMgt;| ;SPMamp; A local encoding
The `local' encodings are intended for font encodings which are only
locally available, for example a font containing a university logo
in various sizes.
There are far too many font families to list them all, but some common
ones are:
<#77#>center<#77#>
<#78#>minipage<#78#><#79#>.7<#79#>
<#80#>tabular<#80#><#81#>rl<#81#>
|cmr| ;SPMamp; Computer Modern Roman
<BR> |cmss| ;SPMamp; Computer Modern Sans
<BR> |cmtt| ;SPMamp; Computer Modern Typewriter
<BR> |cmm| ;SPMamp; Computer Modern Math Italic
<BR> |cmsy| ;SPMamp; Computer Modern Math Symbols
<BR> |cmex| ;SPMamp; Computer Modern Math Extensions
<BR> |ptm| ;SPMamp; Adobe Times
<BR> |phv| ;SPMamp; Adobe Helvetica
<BR> |pcr| ;SPMamp; Adobe Courier
The most common values for the font series are:
<#85#>center<#85#>
<#86#>minipage<#86#><#87#>.7<#87#>
<#88#>tabular<#88#><#89#>rl<#89#>
|m| ;SPMamp; Medium
<BR> |b| ;SPMamp; Bold
<BR> |bx| ;SPMamp; Bold extended
<BR> |sb| ;SPMamp; Semi-bold
<BR> |c| ;SPMamp; Condensed
The most common values for the font shape are:
<#93#>center<#93#>
<#94#>minipage<#94#><#95#>.7<#95#>
<#96#>tabular<#96#><#97#>rl<#97#>
|n| ;SPMamp; Normal (that is `upright' or `roman')
<BR> |it| ;SPMamp; Italic
<BR> |sl| ;SPMamp; Slanted (or `oblique')
<BR> |sc| ;SPMamp; Caps and small caps
The font size is specified as a dimension, for example |10pt| or
|1.5in| or |3mm|. These five parameters specify every L<SUP><SMALL>A</SMALL></SUP>T<SMALL>E</SMALL>X<#101#><#101#> font,
for example:
<#102#>center<#102#>
<#103#>tabular<#103#><#808#>@<#104#><#104#>c@<#105#>;SPMnbsp;<#105#>c@<#106#>;SPMnbsp;<#106#>c@<#107#>;SPMnbsp;<#107#>c@<#108#>;SPMnbsp;<#108#>ccc@<#109#><#109#><#808#>
<I>L<SUP><SMALL>A</SMALL></SUP>T<SMALL>E</SMALL>X<#112#><#112#> specification</I></FONT></FONT></FONT></FONT></FONT></B></FONT>